<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

	<title>
        {%block title%}
            Donita using Django, JQuery and Blueprint
        {%endblock%}
    </title>
	<link rel="stylesheet" href="/static/css/blueprint/screen.css" type="text/css" media="screen, projection">   
	<link rel="stylesheet" href="/static/css/blueprint/print.css" type="text/css" media="print">
    <link rel="stylesheet" href="/static/css/donita.css" type="text/css" media="screen, projection">
	<script type="text/javascript" src="/static/js/jquery.js"></script>
    <script type="text/javascript" src="/static/js/jquery.form.js"></script>
    {% block extrajs %} {% endblock %}
    {% block extracss %} {% endblock %}
</head>

<body>
<div id="wrapper" class="container" >
    <div id="header" class="column span-24 ">
        <span id="logo" class="column span-15 prepend-1 colborder">
            <span id="sitename"><a href="/">Donita</a> </span>
            &raquo; <span class="alt">Have you done it yet?</span>
        </span>    
        <span id="nav" class="column span-7 last">
            <p>
                    Hello! {{user.username}}                    
                    {% if not user.is_authenticated %}
                        Please <a href="/accounts/login/">login</a>.
                    {% endif %}
                    {% if user.is_authenticated %}
                        <a href="/accounts/logout/">logout</a>.
                    {% endif %}                
            </p>
        </span><!-- nav -->
    </div><!-- header -->
    
    <div id="main" class="column span-15 prepend-1 colborder">    
        <div id="msg"></div>
        {% block content %}
        {% endblock %}
    </div>
    
    <div id="sidebar" class="column span-7 last">
        {% block sidebar%}
          {% endblock %}
    </div>
    
    <div id="footer" class="column span-24">
        <span id="copyright" class="column span-15 prepend-1 colborder">    
            <p>Made by <a href="http://www.btbytes.com/">btbytes</a><br>
            Made with 
            <span class="alt"><a href="http://www.djangoproject.com">Django</a></span>,
            <span class="alt"><a href="http://www.jquery.com">jQuery</a></span> and
            <span class="alt"><a href="http://code.google.com/p/blueprintcss/">Blueprint CSS</a></span>.
            </p>
        </span>    
        <span class="column span-7 last">&nbsp;</span>
    </div>
</div>
</body>
</html>
